home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Util
/
F-Fi
/
Facade.cpt
/
About Façade
next >
Wrap
Text File
|
1988-07-14
|
1KB
|
23 lines
Façade (a.k.a. FaceLiftPlus) - by Greg Marriott
This is an INIT which allows a user to assign special ICN#s to their disks.
It installs a patch to Control which watches for the "give-me-an-icon" call to mountable volumes.
If the call is being made to a driver in the drive queue, it checks to see if that drive/driver
combination appears in any VCB entry. If it does, the volume name is extracted from the VCB
and compared against Façade's dictionary of named ICN#s (loaded at INIT time). If a match
is found, the patch returns the address of the dictionary entry instead of the driver's icon.
Since the dictionary lookup is performed every time the right Control call is made, a disk's
icon can be changed by simply changing the name (and then making the Finder re-draw it by
selecting and/or moving it). I've got icons for all the different servers I mount on a regular
basis. HDs, floppies, tapes, AppleShare volumes, etc can all have custom icons.
Place named ICN#s into the INIT file for each volume you want to "dress up."
Façade successfully returns an icon pointer even if the driver being called doesn't support
the proper Control calls.
----------------------------------
Greg Marriott x6338 M/S-27AQ